
// #ifndef VUE3
//vue2时编译的代码块
import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission

Vue.use(plugins)

Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
//vue3时编译的代码块
import { createSSRApp } from 'vue'
import App from './App.vue'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
export function createApp() {
  const app = createSSRApp(App)
	app.use(store)
	app.use(plugins)
  return {
    app
  }
}
// #endif